package edu.stu.book.book.keeping.ui.nav

import androidx.annotation.StringRes
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Explore
import androidx.compose.material.icons.filled.MonetizationOn
import androidx.compose.material.icons.filled.Money
import androidx.compose.material.icons.filled.Person
import androidx.compose.material.icons.filled.PieChart
import androidx.compose.ui.graphics.vector.ImageVector
import edu.stu.book.book.keeping.R


sealed class ScreenPage(
    val route: String,
    @StringRes val resId: Int = 0,
    val icon: ImageVector,
    var isShowText: Boolean = true
) {
    data object Index : ScreenPage(
        route = "Index",
        resId = R.string.str_main_title_home,
        icon = Icons.Filled.Money,
        isShowText = false
    )

    data object Chart : ScreenPage(
        route = "Chart",
        resId = R.string.str_main_title_chart,
        icon = Icons.Filled.PieChart,
        isShowText = false
    )

    data object Add : ScreenPage(
        route = "Add",
        resId = R.string.str_main_title_add,
        icon = Icons.Filled.MonetizationOn,
        isShowText = false
    )

    data object Find : ScreenPage(
        route = "Find",
        resId = R.string.str_main_title_find,
        icon = Icons.Filled.Explore,
        isShowText = false
    )

    data object User : ScreenPage(
        route = "User",
        resId = R.string.str_main_title_user,
        icon = Icons.Filled.Person,
        isShowText = false
    )
}